return “Mammals produce offsprings by directly giving

birth and females have mammary glands”;

}

}

contract SpecialMammal is Mammal {

function mammalFunction() public pure override

returns(string memory) {

return “Humans are special mammals who can speak and walk

with two legs”;

}

}

A. No issues, the code would compile, get deployed, and run

B. The code would throw a runtime error as the function in the

parent contract is not declared virtual

C. The code would throw a compilation error as the function in the

parent contract is not declared virtual

D. The code would throw a runtime error for improper use of the

override keyword in the function of the child contract

Q87: What would be the issue with the following code?

// SPDX-License-Identifier: SOME IDENTIFIER

pragma solidity ^0.8.10;

contract Mammal {

function mammalFunction() public pure virtual returns(string

memory) {

return “Mammals produce offsprings by directly giving

birth and females have mammary glands”;

}

}

contract SpecialMammal is Mammal {

function mammalFunction() public pure returns(string memory)

{